import { Module } from '@nestjs/common';
import { DishController } from './dish.controller';
import { DishService } from './dish.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { DishEntity } from '@/entity/dish.entity';
import { AuthModule } from '@/auth/auth.module';
import { CategoryEntity } from '@/entity/category.entity';
import { RestaurantEntity } from '@/entity/restaurant.entity';

@Module({
  controllers: [DishController],
  imports: [
    TypeOrmModule.forFeature([DishEntity, CategoryEntity, RestaurantEntity]),
    AuthModule,
  ],
  providers: [DishService],
})
export class DishModule {}
